<?php

use Hyperf\Database\Schema\Schema;
use Hyperf\Database\Schema\Blueprint;
use Hyperf\Database\Migrations\Migration;

class AddOsVersionToOcpcBaiduTable extends Migration
{
    /**
     * Run the migrations.
     */
    public function up(): void
    {
        Schema::table('ocpc_baidu', function (Blueprint $table) {
            //
            $table->string('biz_type',100)->default('');
            $table->tinyInteger('channel')->default(0);
        });
    }

    /**
     * Reverse the migrations.
     */
    public function down(): void
    {
        Schema::table('ocpc_baidu', function (Blueprint $table) {
            //
        });
    }
}
